
<h1>All teams</h1>

<!--
	<div class="notice"></div>
-->

<table>
  <thead>
    <tr>
      <th>Team name</th>
      <th></th>
    </tr>
  </thead>
  <tbody>
    <% for team in @teams %>
    <tr class="<%= cycle("even", "odd") -%>">
      <td><%= link_to team.name, team_path(team) %></td>
      <td><a href="<%= url_for edit_team_path(team) %>"><%= image_tag("icons/user_edit.png") %></a></td>
    </tr>
    <% end %>
  </tbody>
</table>

<br />

<%= link_to 'add team', new_team_path %>
